package com.wenyu.wenyuyuedu.server.circle;

import com.wenyu.wenyuyuedu.bean.circle.CreateCircleBean;
import com.wenyu.wenyuyuedu.bean.circle.ShowCircleType;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;

/**
 * Created by Administrator on 2017/3/8.
 * 创建书圈
 */

public interface CreateCirlceServer {
    /*默认进来*/
    @GET("/forum/circle/circleType.html ")
    Call<ShowCircleType> getType();

    /*创建发布书圈*/
    @FormUrlEncoded
    @POST("/forum/circle/createCircle.html")
    Call<CreateCircleBean> getCircle(@Field("images") String images, @Field("token") String token, @Field("forum_id") String forum_id,
                                     @Field("title") String title, @Field("content") String content);
}
